import request from '../untils/httpService'

// 单个账号保存
export const saveSingleAccount = (data) => {
  return request.post('/api/single_account/save', { data });
}
// 批量账号保存
export const saveBatchAccounts = (data) => {
  return request.post('/api/batch_account/save', { data });
}
// 获取单个账号信息
export const getSingleAccount = () => {
  return request.get('/api/single_account/get')
}
// 获取多个账号信息
export const getBatchAccount = () => {
  return request.get('/api/batch_account/get')
}

// 单个账号中签查询
export const querySingleAccount = () => {
  return request.get('/api/index/single_winner')
}
// 多个账号中签查询
export const queryBatchAccount = () => {
  return request.get('/api/index/batch_winner')
}


